package com.captjack.micro.service.hello;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * hello micro service
 *
 * @author Capt Jack
 * @date 2018/6/20
 */
@SpringBootApplication
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {"com.captjack.micro.dao.database", "com.captjack.micro.service.hello"})
public class HelloMicroServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(HelloMicroServiceApplication.class, args);
    }

}
